<table width="100%">
	<tr>
		<td width="15%"><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png'); ?></td>
		<td width="85%">
		<h4><strong>PT. ANUGERAH BERSAMA BERKAH ABADI</strong></h4>
		<h4><strong>JURNAL</strong></h4>
		<h4><strong>31 <?php echo $month." ".$tahun; ?></strong></h4>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			Journal No : <?php echo $model->jurnal_no; ?><br />
			Date	: <?php echo date('d-m-Y', strtotime($model->trx_date)); ?>
		</td>
	</tr>
</table>
<table width="100%" border="1">
	<tr>
		<td width="5%">No</td>
		<td>Account Code</td>
		<td>Description</td>
		<td>Debit</td>
		<td>Credit</td>
	</tr><?php 
	$i=0;
	foreach($data as $item): ?>
	
	<tr>
		<td><?php echo $i+1; ?></td>
		<td><?php echo $item['code']; ?></td>
		<td><?php echo $item['description']; ?></td>
		<td><?php echo $item['debet']; ?></td>
		<td><?php echo $item['credit']; ?></td>
	</tr>
	<?php 
	$i++;
	endforeach; ?>
</table>